{#{% load static %}#}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>知了博客</title>
    <link rel="stylesheet" href="{% static 'bootstrap5/bootstrap.min.css' %}">
    <script src="{% static 'bootstrap5/popper.min.js' %}"></script>
    <script src="{% static 'bootstrap5/bootstrap.min.js' %}"></script>
    <link rel="stylesheet" href="{% static 'css/base.css' %}">
</head>
<body>
<header class="p-3 text-bg-light border-bottom mb-3">
    <div class="container">
        <div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">
            <a href="/" class="d-flex align-items-center mb-2 mb-lg-0 text-white text-decoration-none">
                <img src="{% static 'image/logo.png' %}" alt="" height="32">
            </a>

            <ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
                <li><a href="#" class="nav-link px-2 text-secondary">首页</a></li>
                <li><a href="#" class="nav-link px-2 text-secondary">发布博客</a></li>
            </ul>

            <form class="col-12 col-lg-auto mb-3 mb-lg-0 me-lg-3" role="search">
                <input type="search" class="form-control" placeholder="请输入搜索内容......" aria-label="Search">
            </form>

            <div class="text-end">
                <button type="button" class="btn btn-outline-primary me-2">登入</button>
                <button type="button" class="btn btn-primary">注册</button>
            </div>
        </div>
    </div>
</header>
<main class="container bg-white p-3 rounded">
    <h1>Django课程详情</h1>
    <hr>
    <div class="mt-2">
        <img src="{% static 'image/avatar.webp' %}" class="rounded-circle" height="30" width="30" alt="">
        <span class="ms-2">Django</span>
        <span class="ms-2">2021年12月12日 12:00</span>发布
    </div>
    <hr>
    <div class="py-2">
        这是博客详情
    </div>
    <hr>
    <div class="mt-2">
        <h3>评论（10）</h3>
        <form action="" method="POST">
            <div class="mt-2">
                <input type="text" class="form-control" placeholder="请输入评论内容">
            </div>
            <div class="text-end">
                <button type="button" class="btn btn-primary mt-2">提交评论</button>
            </div>
            <div class="mt-2">
                <ul class="list-group list-group-flush">
                    <li class="list-group-item mb-2">
                        <div class="d-flex justify-content-between text-body-secondary">
                            <div class="user-info">
                                <img src="{% static 'image/avatar.webp' %}" class="rounded-circle" height="40"
                                     width="40" alt="">
                                <span class="ms-2">Djangon</span>
                            </div>
                            <div class="create-time" style="line-height: 40px;">2021年12月12日 12:00</div>
                        </div>
                        <div class="mt-2">
                            这是评论的内容
                        </div>
                    </li>
                    <li class="list-group-item mb-2">
                        <div class="d-flex justify-content-between text-body-secondary">
                            <div class="user-info">
                                <img src="{% static 'image/avatar.webp' %}" class="rounded-circle" height="40"
                                     width="40" alt="">
                                <span class="ms-2">Djangon</span>
                            </div>
                            <div class="create-time" style="line-height: 40px;">2021年12月12日 12:00</div>
                        </div>
                        <div class="mt-2">
                            这是评论的内容
                        </div>
                    </li>
                    <li class="list-group-item mb-2">
                        <div class="d-flex justify-content-between text-body-secondary">
                            <div class="user-info">
                                <img src="{% static 'image/avatar.webp' %}" class="rounded-circle" height="40"
                                     width="40" alt="">
                                <span class="ms-2">Djangon</span>
                            </div>
                            <div class="create-time" style="line-height: 40px;">2021年12月12日 12:00</div>
                        </div>
                        <div class="mt-2">
                            这是评论的内容
                        </div>
                    </li>
                    <li class="list-group-item mb-2">
                        <div class="d-flex justify-content-between text-body-secondary">
                            <div class="user-info">
                                <img src="{% static 'image/avatar.webp' %}" class="rounded-circle" height="40"
                                     width="40" alt="">
                                <span class="ms-2">Djangon</span>
                            </div>
                            <div class="create-time" style="line-height: 40px;">2021年12月12日 12:00</div>
                        </div>
                        <div class="mt-2">
                            这是评论的内容
                        </div>
                    </li>
                    <li class="list-group-item mb-2">
                        <div class="d-flex justify-content-between text-body-secondary">
                            <div class="user-info">
                                <img src="{% static 'image/avatar.webp' %}" class="rounded-circle" height="40"
                                     width="40" alt="">
                                <span class="ms-2">Djangon</span>
                            </div>
                            <div class="create-time" style="line-height: 40px;">2021年12月12日 12:00</div>
                        </div>
                        <div class="mt-2">
                            这是评论的内容
                        </div>
                    </li>
                </ul>
            </div>
        </form>
    </div>
</main>
</body>
</html>